package io.bdmc.modules.bss.mapper;

import io.bdmc.modules.bss.entity.DeviceMeasure;
import io.bdmc.modules.bss.model.DeviceMeasureParam;
import org.apache.ibatis.annotations.Param;
import io.bdmc.common.utils.MyPage;

import java.util.HashMap;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 设备测试 Mapper 接口
 * </p>
 *
 * @author ping
 * @since 2020-06-30
 */
public interface DeviceMeasureMapper extends BaseMapper<DeviceMeasure> {

	MyPage<DeviceMeasure> mySelectPage(@Param("myPage") MyPage<DeviceMeasure> myPage,
			@Param("param") DeviceMeasureParam params);

	MyPage<DeviceMeasure> mySelectPageFor1U(@Param("myPage") MyPage<DeviceMeasure> myPage,
			@Param("param") DeviceMeasureParam params);

	List<DeviceMeasure> mySelectPage(@Param("param") DeviceMeasureParam params);

	List<DeviceMeasure> mySelectPageFor1U(@Param("param") DeviceMeasureParam params);

	List<HashMap<String, Object>> selectForLine(@Param("param") DeviceMeasureParam param);

	List<DeviceMeasure> exportList(@Param("param") DeviceMeasureParam params);

	MyPage<DeviceMeasure> mySelectPage1(@Param("myPage") MyPage<DeviceMeasure> myPage,
			@Param("param") DeviceMeasureParam params);
}
